package com.bawei.erp.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.bawei.erp.mapper.OutDetailsMapper;
import com.bawei.erp.model.OutDetails;

@Service
public class StockOutDetailsServiceImpl implements com.bawei.erp.service.StockOutDetailsService {

	@Resource
	private OutDetailsMapper outDetailsMapper;

	@Override
	public void addOutDetails(OutDetails outDetails) {
		outDetailsMapper.insert(outDetails);
	}

	@Override
	public List<OutDetails> getOutDetails() {
		return outDetailsMapper.selectByExample(null);
	}
}
